<?php
namespace App\Models\Sponsor;

use App\Contracts\Repositories\SponsorRepository;

class SponsorService
{
    private $sponsorRepository;

    public function __construct(SponsorRepository $sponsorRepository)
    {
        $this->sponsorRepository = $sponsorRepository;
    }

    public function getSponsorByPrizeIds($ids)
    {
        return $this->sponsorRepository->getListByPrizeIds($ids)->toArray();
    }
}
